#pragma once
#include "Common.hpp"

class ThreadCache
{
public:
	void* Allocate(std::size_t size);

	void DeAllocate(void* ptr, std::size_t size);

	void* FetchFromCentralCache(size_t index, size_t size);

private:
	FreeList _freeLists[COUNT_FREELIST];
};
